<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<!doctype html>
<html lang="zh">
<head>
    <title>观察卡登记</title>
    <%@include file="/common/header.jspf"%>
    <script type="text/javascript" src="${ctx}/resources/js/observation/observationCard/list.js"></script>
    <style type="text/css">
        .list{
            width: 25%;
            text-align: right;
            padding-top: 5px;
            padding-bottom: 5px;
        }
    </style>
</head>
<body>
<div class="easyui-layout" data-options="fit:true">
    <div data-options="region:'west',title:'组织机构树',split:true" style="width:20%;padding: 10px">
        <ul id="department_tree">
        </ul>
    </div>
    <div data-options="region:'center',border:true">
        <div id="toolbar">
        <form id="tb1">
            被观察作业活动: <input id="obsName" name="obsName" class="easyui-textbox" style="width:300px;"/>
                <a id="btn_advanced_search" href="javascript:void(0)" class="advanced-search"></a>
            <a id="btn_search" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-search fa-lg">查询</a>
            <a id="btn_clear" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-remove fa-lg">清空</a>
            <%@include file="/common/button.jspf"%>
        </form>
        <form id="tb2" style="display: none;">
            <fieldset class="advanced" style="border: 1px solid #B5B5B5;">
                <legend>高级查询</legend>
                <div class="list">
                    <label>情况描述：</label>
                    <input id="obsDescribe" class="easyui-textbox" name="obsDescribe" style="width: 175px;">
                </div>
                <div class="list">
                    <input id="contractor" name="obsDeptId2" hidden/>
                    <div class="unit">
                        <label>被观察单位：</label>
                        <input id="obsDeptId" class="easyui-textbox parentDepartmentId" name="obsDeptId1" style="width: 175px"/>
                    </div>
                    <div class="contractor" style="display: none;" >
                        <label>所属承包商：</label>
                        <input id="contractorName" class="text" name="contractorName" style="width: 175px;"/>
                    </div>
                </div>
                <div class="list">
                    <label>观察类型：</label>
                    <select id="obsType" class="easyui-combobox" name="obsType" style="width:175px" data-options="editable:false,selectOnNavigation:true">
                        <option></option>
                        <option value="0">不安全行为</option>
                        <option value="1">不安全状态</option>
                        <option value="2">推荐的安全行为</option>
                    </select>
                </div>
                <div class="list">
                    <label>是否承包商：</label>
                    <select id="isConstrctor" class="easyui-combobox" name="isConstrctor" style="width:175px" data-options="editable:false,selectOnNavigation:true">
                        <option></option>
                        <option value="0">否</option>
                        <option value="1">是</option>
                    </select>
                </div>
                <div class="list">
                    <input id="obsReporter" name="obsReporter" hidden/>
                    <label>报告人：</label>
                    <input id="obsRep" class="text" name="obsReportRealName" style="width: 175px;"/>
                </div>
                <div class="list">
                    <input id="analysis"  name="analysisUser" hidden/>
                    <label>分析人：</label>
                    <input class="text" id="analysisTree"  name="analysisUserName" style="width: 175px;"/>
                </div>
                <div class="list">
                    <input name="handleUser"  id="handlePeople" hidden/>
                    <label>审核处理人：</label>
                    <input id="handlePeopleName" class="text"  name="handleUserName" style="width: 175px;"/>
                </div>
                <div class="list">
                    <label>区域/设施：</label>
                    <input id="obsPlace" class="easyui-textbox"  name="obsPlace" style="width: 175px;"/>
                </div>
                <div class="list">
                    <label>观察发现日期：</label>
                    <input id="beginObsTime" class="easyui-datebox" name="beginObsTime" style="width: 175px;"/>
                </div>
                <div class="list">
                    <label>至：</label>
                    <input id="endObsTime" class="easyui-datebox" name="endObsTime" style="width: 175px;"/>
                </div>
                <div class="list">
                    <label>状态：</label>
                    <input id="obsStatus" class="easyui-textbox"  name="obsStatus" style="width: 175px;"/>
                </div>
                <div class="list">
                    <label>登记部门：</label>
                    <input id="addDeptId" class="easyui-textbox parentDepartmentId"  name="addDeptId" style="width: 175px;"/>
                </div>
                <div class="list">
                    <input id="addUserId" name="addUserId" hidden/>
                    <label>登记人：</label>
                    <input id="addUserIdName" class="text" style="width: 175px;"/>
                </div>
                <div class="list">
                    <label>登记开始时间：</label>
                    <input id="beginLoginTime" class="easyui-datebox" name="beginLoginTime" style="width: 175px;"/>
                </div>
                <div class="list">
                    <label>至：</label>
                    <input id="endLoginTime" class="easyui-datebox" name="endLoginTime" style="width: 175px;"/>
                </div>
            </fieldset>
        </form>
        </div>
        <table id="dg1">
        </table>
    </div>
</div>
</body>
</html>